FROM openjdk:8-jre-alpine

COPY star-api/target/star-api-5.0-SNAPSHOT.jar /star-api-5.0-SNAPSHOT.jar

COPY docker/license_test /license_test
COPY docker/license_tz /license_tz

ENV LANG C.UTF-8
RUN mkdir /FILE && chmod 777 /FILE

VOLUME /FILE

EXPOSE 8080
CMD ["java","-jar","-Xms2048M","-Xmx4096M","/star-api-5.0-SNAPSHOT.jar"]
